import request from '@/utils/request'

export function start(name) {
  return request({
    url: '/yunwu-demo/serviceControl/serverStatus/start',
    methods: 'get',
    params: { name }
  })
}

export function stop(name) {
  return request({
    url: '/yunwu-demo/serviceControl/serverStatus/stop',
    methods: 'get',
    params: { name }
  })
}
